const { orderSelect, searchInp, orderDelete, getOrder } = require("../controller/order")
const router = require("koa-router")()
const auth = require("../middleware/auth");

router.post('/OrderSelect', auth, orderSelect)
router.post('/searchInp', auth, searchInp)
router.post('/orderDelete', auth, orderDelete)
router.get('/getOrder', auth, getOrder)
module.exports = router
